package cn.com.b2office.service.impl;

import java.util.List;

import cn.com.b2office.dao.DictDao;
import cn.com.b2office.dao.PaymentModeDao;
import cn.com.b2office.domain.DictData;
import cn.com.b2office.domain.PaymentMode;
import cn.com.b2office.service.OrderCustomService;

public class OrderCustomServiceImpl implements OrderCustomService {

	private DictDao dictDao = null;

	private PaymentModeDao paymentModeDao = null;

	public List<DictData> findAllInvoiceKind() {
		return dictDao.findAllInvoices();
	}

	public List<PaymentMode> findAllPaymentMode() {
		return paymentModeDao.findAllPaymentModes();
	}

	public PaymentMode getPaymentMode(int modeId) {
		return paymentModeDao.getPaymentMode(modeId);
	}

	public void setDictDao(DictDao dictDao) {
		this.dictDao = dictDao;
	}

	public void setPaymentModeDao(PaymentModeDao paymentModeDao) {
		this.paymentModeDao = paymentModeDao;
	}

}
